package com.api.model;

public interface OauthApi extends Api {

	void login(String username, String password);

	void setAccess(String accessKey, String accessSecret);

	String getAccessKey();

	String getAccessSecret();

	boolean isLoggedIn();

	void signRequest(ApiRequestBuilder request);

	<T> T send(ApiRequestBuilder request) throws Exception;
}
